package com.freemalll.merchant.domain.entity.common;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 第三方接口调用日志 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@TableName(value = "log_call_interface")
public class LogCallInterfaceEntity {

    /**
     * 主键
     */
    @TableId(value = "log_id", type = IdType.ASSIGN_UUID)
    private String logId;

    /**
     * 接口名称
     */
    @TableField(value = "interface_name")
    private String interfaceName;

    /**
     * 数据关联表
     */
    @TableField(value = "relation_table")
    private String relationTable;

    /**
     * 日志关联id
     */
    @TableField(value = "relation_id")
    private String relationId;

    /**
     * 请求状态（not_send:未发送，sign_error:加签/加密失败，send_error:请求异常，complete 已完成）
     */
    @TableField(value = "req_status")
    private String reqStatus;

    /**
     * 请求地址
     */
    @TableField(value = "req_url")
    private String reqUrl;

    /**
     * 请求参数
     */
    @TableField(value = "req_param")
    private String reqParam;

    /**
     * 发送时间
     */
    @TableField(value = "req_time")
    private java.util.Date reqTime;

    /**
     * 响应结果
     */
    @TableField(value = "res_data")
    private String resData;

    /**
     * 响应时间
     */
    @TableField(value = "res_time")
    private java.util.Date resTime;

    /**
     * 结果描述
     */
    @TableField(value = "memo")
    private String memo;


    public String getLogId() {
        return logId;
    }

    public void setLogId(String logId) {
        this.logId = logId;
    }

    public String getInterfaceName() {
        return interfaceName;
    }

    public void setInterfaceName(String interfaceName) {
        this.interfaceName = interfaceName;
    }

    public String getRelationTable() {
        return relationTable;
    }

    public void setRelationTable(String relationTable) {
        this.relationTable = relationTable;
    }

    public String getRelationId() {
        return relationId;
    }

    public void setRelationId(String relationId) {
        this.relationId = relationId;
    }

    public String getReqStatus() {
        return reqStatus;
    }

    public void setReqStatus(String reqStatus) {
        this.reqStatus = reqStatus;
    }

    public String getReqUrl() {
        return reqUrl;
    }

    public void setReqUrl(String reqUrl) {
        this.reqUrl = reqUrl;
    }

    public String getReqParam() {
        return reqParam;
    }

    public void setReqParam(String reqParam) {
        this.reqParam = reqParam;
    }

    public java.util.Date getReqTime() {
        return reqTime;
    }

    public void setReqTime(java.util.Date reqTime) {
        this.reqTime = reqTime;
    }

    public String getResData() {
        return resData;
    }

    public void setResData(String resData) {
        this.resData = resData;
    }

    public java.util.Date getResTime() {
        return resTime;
    }

    public void setResTime(java.util.Date resTime) {
        this.resTime = resTime;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }
}
